<template>
  <section>
    <el-tabs v-model="tabName">
      <el-tab-pane label="账户管理" name="member">
        <member v-if="tabName === 'member'"></member>
      </el-tab-pane>
      <el-tab-pane label="用户管理" name="customer">
        <customer v-if="tabName === 'customer'"></customer>
      </el-tab-pane>
    </el-tabs>
  </section>
</template>
<script>
  import member from "./member/memberList";
  import customer from "./customer";
  import {mapGetters, mapActions, mapMutations} from 'vuex'
	export default {
		name:'user-manager',
    components: {member,customer},
		computed:{
      ...mapGetters({
        user:'userInfo'
      })
		},
		data(){
			return {
			  tabName:'member'
			}
		},
		methods:{
		},
		created(){

		}
	}
</script>
